import re
arr=dict()
arr['+']=0
arr['-']=0
arr['*']=0
arr['/']=0
n=input()
op=input()
m=input()
arr[op]=n+op+m
try:
    print("%.2f"%(eval(arr.get(op))))
except:
    print("divided by zero")